Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serialization of capabilities in onautoinsert #73867

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Jun 6, 2024

@dibarbet dibarbet requested a review from a team as a code owner June 6, 2024 00:24
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 6, 2024
@@ -29,7 +29,7 @@ internal sealed class LanguageServerHost

public LanguageServerHost(Stream inputStream, Stream outputStream, ExportProvider exportProvider, ILogger logger, AbstractTypeRefResolver typeRefResolver)
{
var messageFormatter = CreateJsonMessageFormatter();
var messageFormatter = RoslynLanguageServer.CreateJsonMessageFormatter();
Copy link
Member Author

@dibarbet dibarbet Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the bug - the vscode serializer wasn't adding all of the vs extension converters. I deleted the vscode specific one so we always have consistent serialization.

@dibarbet dibarbet added the LSP issues related to the roslyn language server protocol implementation label Jun 6, 2024
@dibarbet dibarbet merged commit e1e7d07 into dotnet:main Jun 6, 2024
25 checks passed
@dibarbet dibarbet deleted the fix_on_auto_insert branch June 6, 2024 06:44
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 6, 2024
@jjonescz jjonescz modified the milestones: Next, 17.11 P3 Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure LSP issues related to the roslyn language server protocol implementation untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto doc comment generation and other formatOnType features broken
3 participants